
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef __HEX_H
#define __HEX_H

void hex_print(const uint8_t *buffer, size_t size);
void hex_encode_uint8(uint8_t *src, int offset,
    uint8_t value, void *data);
void hex_encode_uint16(uint8_t *src, int offset,
    uint16_t value, void *data);
void hex_encode_uint32(uint8_t *src, int offset,
    uint32_t value, void *data);

#endif // __HEX_H
